package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_bank_statement;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_bank_statementSearchContext;

/**
 * 实体[Account_bank_statement] 服务对象接口
 */

public interface IAccount_bank_statementService{
     boolean remove(Integer id) ;
     boolean create(Account_bank_statement account_bank_statement) ;
     Account_bank_statement get(Integer id) ;
     Account_bank_statement get(Account_bank_statement account_bank_statement) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void updateBatch(List<Account_bank_statement> account_bank_statements, int batchSize) ;
     void createBatch(List<Account_bank_statement> account_bank_statements, int batchSize) ;
     boolean update(Account_bank_statement account_bank_statement) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_bank_statement> searchDefault(Account_bank_statementSearchContext context) ;

    /**
     * 根据银行资金调节表查询
     */
     Page<Account_bank_statement> selectByOdoo_cashbox_end(Integer id) ;

    /**
     * 根据银行资金调节表查询
     */
     Page<Account_bank_statement> selectByOdoo_cashbox_start(Integer id) ;

    /**
     * 根据日记账查询
     */
     Page<Account_bank_statement> selectByOdoo_journal(Integer id) ;

    /**
     * 根据公司查询
     */
     Page<Account_bank_statement> selectByOdoo_company(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_bank_statement> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_bank_statement> selectByOdoo_user(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_bank_statement> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_bank_statement convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_bank_statement model ,Account_bank_statement domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_bank_statement convert2Model(Account_bank_statement domain , cn.ibizlab.odoo.core.client.model.Iaccount_bank_statement model);

}
